package payroll.webapp

class EmployeeCostCenter {
	
	String empCostCenterID
	String empCostCenterName
	Date dateCreated
	Date lastUpdated
	String createdBy
	String lastModifiedBy
	
    static constraints = {
		empCostCenterID(maxSize:6, unique:true)
		empCostCenterName(maxSize:100)
		dateCreated(nullable:true)
		lastUpdated(nullable:true)
		createdBy(nullable:true)
		lastModifiedBy(nullable:true)
    }

	static mapping = {
		table "employee_cost_center"
	}
}
